package com.dowsure.apisaas.model;

import com.dowsure.apisaas.annotation.RequestParamValidated;
import lombok.Data;

/**
 * @program: apisaas-sdk
 * @description: 请求强制划扣请求参数
 * @author: Dowsure
 * @create: 2022-02-15 18:43
 **/
@Data
public class PspRepaymentCancelRequestParams {

    /**
     * 用户侧业务ID，该ID唯一，用于后续取消操作
     */
    @RequestParamValidated(required = true, msg = "用户侧业务ID", maxLen = 32)
    private String bizId;

    /**
     * 取消原因
     */
    @RequestParamValidated(required = true, msg = "取消原因", maxLen = 200)
    private String reason;
}
